package com.atguigu.java;

import java.io.Serializable;

/**
 * @author : leimingchao
 * @date Date : 2021年10月10日 16:29
 */
public class Account implements Serializable {

    private static final long serialVersionUID = 879580610349190482L;
    private double balance;

    public Account() {
    }

    public Account(double balance) {
        this.balance = balance;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    @Override
    public String toString() {
        return "Account{" +
                "balance=" + balance +
                '}';
    }
}
